package com.zzyl.mapper;


import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NursingLevelMapper {

    List<NursingLevel> selectAll();

    void insert(NursingLevel nursingLevel);

    Page<NursingLevel> selectByPage(@Param("name")String name, @Param("status")Integer status);

    NursingLevel selectByPrimaryKey(Long id);

    void updateByPrimaryKey(NursingLevel nursingLevel);

    void deleteByPrimaryKey(Long id);
}